// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'id',
        footer: "Foots",
        cnName: '退货表',
        name: 'return_orders',
        url: "/return_orders/",
        sortName: "id"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {};
    const editFormOptions = [];
    const searchFormFields = {};
    const searchFormOptions = [];
    const columns = [{field:'id',title:'主键ID',type:'bigint',width:110,readonly:true,require:true,align:'left',sort:true},
                       {field:'return_no',title:'退货编号',type:'string',width:110,require:true,align:'left'},
                       {field:'order_no',title:'订单编号',type:'string',width:110,require:true,align:'left'},
                       {field:'product_name',title:'商品名称',type:'string',width:120,require:true,align:'left'},
                       {field:'customer_id',title:'客户ID',type:'bigint',width:110,require:true,align:'left'},
                       {field:'create_time',title:'创建时间',type:'datetime',width:150,align:'left',sort:true},
                       {field:'order_amount',title:'订单金额',type:'decimal',width:110,require:true,align:'left'},
                       {field:'Num',title:'数量',type:'int',width:110,align:'left'},
                       {field:'State',title:'状态',type:'string',width:220,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}